Fix use of eval-and-compile in regexps in xml.el.
authorChong Yidong <cyd@gnu.org>
Sat, 30 Jun 2012 14:21:24 +0000 (22:21 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 30 Jun 2012 14:21:24 +0000 (22:21 +0800)
commitb990e4da2f7a3d850d8a5f3de4c835c21fde9f3e
treee9de6eaf4b79a032d78142f45f16b93aa6c7ecc1
parent5135ddc81259ddc5053c033fe93b6f335325646e
Fix use of eval-and-compile in regexps in xml.el.

* xml.el (xml-*-re): Convert defvars into defconsts, and
eval-and-compile them so eval-and-compile works on derivatives.
(xml--entity-replacement-text): Use eval-and-comple.
lisp/ChangeLog
lisp/xml.el